<%@tag pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx"><%=request.getContextPath()%></c:set>

<div style="border:1px solid #ccc;margin-top:40px;padding-top:24px;background-color: #fff;">
<div class="container" id="promise">
		<div class="row">
		  <div class="col-xs-4 col-md-4">
		    <div class="thumbnail" style="border: 0px;">
		      <img src="${ctx}/images/pc_bao_new.png" alt="...">
		      <div class="caption" align="center">
        		<h6 style="color:#666;">全国顺丰包邮</h6>
		      </div>
		    </div>
		  </div>
		  
		  <div class="col-xs-4 col-md-4">
		    <div class="thumbnail" style="border: 0px;">
		      <img src="${ctx}/images/pc_seven_new.png" alt="...">
		      <div class="caption" align="center">
        		<h6 style="color:#666;">7天无理由退换</h6>
		      </div>
		    </div>
		  </div>
		  
		  <div class="col-xs-4 col-md-4">
		    <div class="thumbnail" style="border: 0px;">
		      <img src="${ctx}/images/pc_pei_new.png" alt="...">
		      <div class="caption" align="center">
        		<h6 style="color:#666;">货到付款、放心购物</h6>
		      </div>
		    </div>
		  </div>
		  
		   
		</div>
</div>
</div>

<div class="copyright"  id="copyright_id"  style="margin-top:20px;margin-bottom:0px;margin-left:auto;margin-right:auto; text-align: center;color:#666;font-size:12px;padding-bottom:20px;">
	
</div>

<style>
	.bottom-menu{
		position: fixed;
		left: 0px;
		bottom: 0px;
		width:100%;
		height: 45px;
		line-height: 45px;
		background: #ff5500;
		color:#fff;
		margin:0px;
		display: none;
		z-index:9999;
	}
	
	.bottom-menu a{
		display: block;
		color:#fff;
		text-decoration: none;
	}
</style>

<div class="row bottom-menu">
	<div class="col-md-6 col-xs-6" align="center" style="border-right:1px solid #fff;"><a href="${ctx}/"><span class="glyphicon glyphicon-home"></span>首页</a></div> 
	<div class="col-md-6 col-xs-6" align="center"><a href="${ctx }/contractm" href="_blank"><span class="glyphicon glyphicon-phone"></span>联系客服</a></div>
</div>
\

<script>
$(function(){
	if(jWei.util.isMobile()){
		$(".bottom-menu").fadeIn();
	}
	 
	
	//网站信息设置
	jQuery.ajax( {
			type : 'Get',
			url : '${ctx}/webinfo/getWebInfo.do',
			dataType : 'json',
			contentType : 'application/json',
			async:false,
			success : function(data) {
				if(data.result){
					//后台设置为显示
					var ann = data.obj;
					//$("title").html("【"+ ann.name+"】");
					//$("#header_id").html(ann.name);
					//$("#qq_info_id").html("QQ咨询："+ann.qq+"&nbsp;&nbsp;&nbsp;关注微信："+ann.weixin);
					$("#copyright_id").html(ann.content);
					$("#qq_webinfo_id").html(ann.qq);
					$("#weixin_webinfo_id").html(ann.weixin);
					 
				}
			}
	});
	$.get("${ctx}/cart/getCartNum.do",function(data){
		$(".topcart").html(data);
		if(data >0){
			$(".cart_nums").show().html(data);
		}else{
			$(".cart_nums").hide().html("");
		}
	});
	
	//获取待付款订单
	jQuery.ajax({
		type : 'Get',
		contentType : 'application/json',
		url : '${ctx}/order/getWaitPayTotalCount.do',
		cache:true,
		async:false,
		dataType : 'json',
		success : function(data) {
			if(data.result){
				if(data.obj){
					$("#wait_pay_order_id").show();
					$("#wait_pay_order_num_id").html(data.obj);	
				}
			}
		}
	});
});
</script>

<div style="display: none;">
		<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?ef5da09cecf7b9af54b03ccd8b4f76ff";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
		
		
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259138185'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1259138185' type='text/javascript'%3E%3C/script%3E"));</script>		

</div>


